package net.uhuijia.zb.userlivevisitrecord.persistence.dao;

import org.apache.ibatis.annotations.Mapper;
import net.uhuijia.appbase.dao.CrudDao;
import net.uhuijia.zb.userlivevisitrecord.persistence.basedao.UserLiveVisitRecordMapper;
import net.uhuijia.zb.userlivevisitrecord.persistence.model.UserLiveVisitRecord;
import net.uhuijia.zb.userlivevisitrecord.persistence.model.UserLiveVisitRecordExample;

import java.util.List;
import java.util.Map;


@Mapper
public interface UserLiveVisitRecordDao
     extends UserLiveVisitRecordMapper,CrudDao<UserLiveVisitRecord,UserLiveVisitRecordExample> {

    /**
     * 查询用户访问记录
     * @param params  userId 用户Id  length 条数
     * @return
     */
    List<UserLiveVisitRecord> findUserLiveVisitRecordByUserIdAndLength(Map<String,Object> params);


}